package com.happy_hao.topbiz.dto.msgDto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serializable;

@Data
public class PeriodicSendRequest implements Serializable {

    @NotBlank(message = "fromEmail不能为空")
    private String fromEmail;


    @NotBlank(message = "email不能为空")
    private String toEmail;
    @NotBlank(message = "subject不能为空")
    private String subject;
    @NotBlank(message = "content不能为空")
    private String content;
    @NotBlank(message = "cron不能为空")
    private String cron;
}
